﻿namespace SC.GridManage.API.Write.Extensions
{
    /// <summary>
    /// Grid Manage Service 扩展
    /// </summary>
    public static class GMServiceExtension
    {
        public static IServiceCollection AddGMService(this IServiceCollection services) {

            services.AddSwaggerGen(o => {
                o.IncludeXmlComments(AppContext.BaseDirectory+ "/SC.GridManage.API.Write.xml",true);
            });
           return services;
        }
    }
}
